package com.love.travel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.love.common.core.annotation.Excel;
import com.love.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 旅游标签对象 travel_tag
 * 
 * @author love
 * @date 2025-10-18
 */
public class TravelTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标签ID */
    private Long tagId;

    /** 标签名称（如：亲子游、海岛、人文历史） */
    @Excel(name = "标签名称", readConverterExp = "如=：亲子游、海岛、人文历史")
    private String tagName;

    /** 标签类型：1-目的地标签 2-产品标签 3-景点标签 */
    @Excel(name = "标签类型：1-目的地标签 2-产品标签 3-景点标签")
    private Long tagType;

    /** 标签展示颜色（如：#FF5A5F） */
    @Excel(name = "标签展示颜色", readConverterExp = "如=：#FF5A5F")
    private String tagColor;

    /** 排序权重（值越大越靠前） */
    @Excel(name = "排序权重", readConverterExp = "值=越大越靠前")
    private Long sortOrder;

    /** 标签大类（如：自然景观、人文景观、人文历史） */
    @Excel(name = "标签大类", readConverterExp = "如=：自然景观、人文景观、人文历史")
    private String tagCategory;

    private String[] tagCategorys;

    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }

    public void setTagName(String tagName) 
    {
        this.tagName = tagName;
    }

    public String getTagName() 
    {
        return tagName;
    }

    public void setTagType(Long tagType)
    {
        this.tagType = tagType;
    }

    public Long getTagType()
    {
        return tagType;
    }

    public void setTagColor(String tagColor) 
    {
        this.tagColor = tagColor;
    }

    public String getTagColor() 
    {
        return tagColor;
    }

    public void setSortOrder(Long sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() 
    {
        return sortOrder;
    }

    public void setTagCategory(String tagCategory)
    {
        this.tagCategory = tagCategory;
    }

    public String getTagCategory()
    {
        return tagCategory;
    }

    public String[] getTagCategorys() {
        return tagCategorys;
    }

    public void setTagCategorys(String[] tagCategorys) {
        this.tagCategorys = tagCategorys;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tagId", getTagId())
            .append("tagName", getTagName())
            .append("tagType", getTagType())
            .append("tagColor", getTagColor())
            .append("sortOrder", getSortOrder())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("tagCategory", getTagCategory())
            .append("tagCategorys", getTagCategorys())
            .toString();
    }
}
